<?php if(!empty($mdDataList)):?>
<?php if(!empty($config['title'])):?>
<div class="md-artlist-a-hd"><?=$config['title']?>
	<?php if(!empty($config['more'])):?>
	<a href="/index.php?m=article" class="md-artlist-a-more"><?=$config['more'];?></a>
	<?php endif;?>
</div>
<?php endif;?>
<div class="md-artlist-a">
	<?php foreach($mdDataList as $k=>$v):?>
	<a href="/index.php?m=article&a=show&id=<?=$v['id']?>" class="md-artlist-a-item">
		<?php if($v['imgurl']):?>
		<div class="md-artlist-a-item-img">
			<img src="<?=$v['imgurl']?>.100x100.jpg" onerror="imgError(this,100,100)" class="md-artlist-a-img">
		</div>
		<?php endif;?>
		<div class="md-artlist-a-box md-artlist-a-flex">
			<div class="md-artlist-a-title"><?=$v['title']?></div>
			<div class="md-artlist-a-desc"><?=$v['description']?></div>
		</div>
	</a>
	<?php endforeach;?>	
</div>
<?php endif;?>

 